home *** CD-ROM | disk | FTP | other *** search
/ Amiga Mag HDD Backup / Amiga Mag HDD Backup.zip / Amiga Mag HDD Backup / Alexander.img.bin / Alexander.img / tech 4.1 editorial Archive.sit / Palmateer / gaugeclass_public.h < prev    next >
C/C++ Source or Header  |  1993-07-18  |  939b  |  34 lines

  1.  
  2. /*
  3. ** GAUGECLASS_PUBLIC.H
  4. ** PUBLIC INFORMATION ABOUT GAUGECLASS
  5. **
  6. ** This is all an application needs to know about our
  7. ** custom class.  The details of the class's operation
  8. ** are secret!
  9. */
  10.  
  11.  
  12. /* ATTRIBUTES */
  13. #define Gauge_offset            0x10000
  14. #define Gauge_Dummy             (TAG_USER + Gauge_offset)
  15. #define Gauge_Framed            (Gauge_Dummy + 0x01)
  16. #define Gauge_RecessedFrame     (Gauge_Dummy + 0x02)
  17. #define Gauge_Direction         (Gauge_Dummy + 0x03)
  18. #define Gauge_Amount            (Gauge_Dummy + 0x04)
  19. #define Gauge_Max               (Gauge_Dummy + 0x05)
  20.  
  21.  
  22. /* DEFINED ATTRIBUTE VALUES */
  23. /* These are for Gauge_Direction: */
  24. #define GAUGE_DIRECTION_L2R     0x00000000
  25. #define GAUGE_DIRECTION_R2L     0x00000100
  26. #define GAUGE_DIRECTION_T2B     0x00000200
  27. #define GAUGE_DIRECTION_B2T     0x00000300
  28.  
  29.  
  30. /* FUNCTIONS CALLABLE BY THE APPLICATION */
  31. extern Class *initGaugeClass();
  32. extern BOOL  freeGaugeClass(Class *cl);
  33.  
  34.